﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rongzi.Infrastructure.ServiceBus.Config
{
    public class MessageQueueConfigSection: ConfigurationSection
    {
        [ConfigurationProperty("rabbitMQ", IsRequired = true)]
        public RabbitMQConfigurationElement RabbitMQ
        {
            get
            {
                return (RabbitMQConfigurationElement)base["rabbitMQ"];
            }
            set
            {
                base["rabbitMQ"] = value;
            }
        }
    }
}
